/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.yth.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 财务管理-年度债务指标录入记录表实体类
 *
 * @author BladeX
 * @since 2023-02-08
 */
@Data
@TableName("finance_yearly_debt")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "YearlyDebt对象", description = "财务管理-年度债务指标录入记录表")
public class YearlyDebt extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 所属年（2000）
     */
    @ApiModelProperty(value = "所属年（2000）")
    @TableField("`year`")
    private Integer year;
    /**
     * 单据编号（NDZWZB20220001：NDZWZB+年度+四位序列号）
     */
    @ApiModelProperty(value = "单据编号（NDZWZB20220001：NDZWZB+年度+四位序列号）")
    private String number;
    /**
     * 所属集团id
     */
    @ApiModelProperty(value = "所属集团id")
    private Long belongGroupId;
    /**
     * 所属集团
     */
    @ApiModelProperty(value = "所属集团")
    private String belongGroupName;
    /**
     * 企业级次
     */
    @ApiModelProperty(value = "企业级次")
    private Integer companyLevel;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 填报日期
     */
    @ApiModelProperty(value = "填报日期")
    private LocalDate reportTime;
    /**
     * 填报组织id
     */
    @ApiModelProperty(value = "填报组织id")
    private Long reportOrgId;
    /**
     * 填报组织名称
     */
    @ApiModelProperty(value = "填报组织名称")
    private String reportOrgName;
    /**
     * 填报人员id
     */
    @ApiModelProperty(value = "填报人员id")
    private Long reportUserId;
    /**
     * 填报人员名称
     */
    @ApiModelProperty(value = "填报人员名称")
    private String reportUserName;
    /**
     * 流程实例id
     */
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    /**
     * 流程环节（0：企业内审1：上级审核）
     */
    @ApiModelProperty(value = "流程环节（0：企业内审1：上级审核）")
    private Integer processStatus;
    /**
     * 审核状态（0：草稿1：待审核2：审核中3：已通过4：已驳回）
     */
    @ApiModelProperty(value = "审核状态（0：草稿1：待审核2：审核中3：已通过4：已驳回）")
    private Integer auditStatus;

    private Boolean isSub;


}
